In [1]:
%matplotlib inline
import pandas as pd
from stemgraphic.alpha import stem_graphic
Load a data frame
In [2]:
df = pd.read_csv('../iris.csv')
In [3]:
df.describe(include='all')
Out[3]:
Select a column with text.
In [4]:
stem_graphic(list(df['species'].values));
From this, we see we have 50 setosa, 50 versicolor and 50 virginica, but you probably already knew that!
In [ ]: